Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instance handling refactor #39

Merged
merged 30 commits into from
Apr 18, 2024
Merged

Instance handling refactor #39

merged 30 commits into from
Apr 18, 2024

Conversation

thejudge156
Copy link
Contributor

Preamble: Were we high designing this the first time????

Separates mods into two categories, core mods and default mods. Default mods are used when NOT creating a instance for a modpack.

Rather than having a dedicated mods.json for mod handling we now use instances.json located in the game directory. It handles version related info + mods.

Since fabric allows us to configure where to find mods, search in the folder indicated at instance creation time, otherwise default to versionName.

@CADIndie CADIndie marked this pull request as ready for review April 18, 2024 01:00
@CADIndie CADIndie merged commit eb9d471 into QuestCraft Apr 18, 2024
2 checks passed
@CADIndie CADIndie deleted the instance-refactor branch May 13, 2024 00:18
Novampr pushed a commit to Refitted-Team/Pojlib-HEF that referenced this pull request Jun 21, 2024
* Add deletion, fix mod dir and default mods

* Add javadocs (CAD get better at reading code)

* Add supportedVersions.json

* Fix Minecraft Version API

* Handle xr errors

* Fix race condition

* Fix actions?

* Slightly More Logging

---------

Co-authored-by: The Judge <[email protected]>
Co-authored-by: Darien Johnson <[email protected]>
thewiilover pushed a commit to thewiilover/Pojlib that referenced this pull request Jun 24, 2024
* Add deletion, fix mod dir and default mods

* Add javadocs (CAD get better at reading code)

* Add supportedVersions.json

* Fix Minecraft Version API

* Handle xr errors

* Fix race condition

* Fix actions?

* Slightly More Logging

---------

Co-authored-by: The Judge <[email protected]>
Co-authored-by: Darien Johnson <[email protected]>
CADIndie added a commit that referenced this pull request Oct 9, 2024
* Add deletion, fix mod dir and default mods

* Add javadocs (CAD get better at reading code)

* Add supportedVersions.json

* Fix Minecraft Version API

* Handle xr errors

* Fix race condition

* Fix actions?

* Slightly More Logging

---------

Co-authored-by: The Judge <[email protected]>
Co-authored-by: Darien Johnson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants